package mappingBD;


import java.io.Serializable;
import java.util.Date;
import java.util.ArrayList;
import java.util.List;


public class Synchronisation implements Serializable  {
	
	Client clientFaitRequete;
	Date dateDerniereSync;
	ArrayList<Client> clientConnecter;
	ArrayList<SalleDeDiscussion> salleDeDiscussions;
	ArrayList<Message> messageDsSD;
	
	public Synchronisation(Client clientFaitRequete){
		this.clientFaitRequete = clientFaitRequete;
	}
	public Synchronisation(Client clientFaitRequete, Date dateDerniereSync, ArrayList<Client> clientConnecter,ArrayList<SalleDeDiscussion> sallesDeDiscussions){
		this.clientFaitRequete = clientFaitRequete;
		this.dateDerniereSync = dateDerniereSync;
		this.clientConnecter = clientConnecter;
		this.salleDeDiscussions = sallesDeDiscussions;
	}
	
	//GETTERS AND SETTERS
	
	public Client getClientFaitRequete() {
		return clientFaitRequete;
	}

	public void setClientFaitRequete(Client clientFaitRequete) {
		this.clientFaitRequete = clientFaitRequete;
	}

	public Date getDateDerniereSync() {
		return dateDerniereSync;
	}

	public void setDateDerniereSync(Date dateDerniereSync) {
		this.dateDerniereSync = dateDerniereSync;
	}

	public ArrayList<Client> getClientConnecter() {
		return clientConnecter;
	}

	public void setClientConnecter(ArrayList<Client> clientConnecter) {
		this.clientConnecter = clientConnecter;
	}

	public ArrayList<SalleDeDiscussion> getSalleDeDiscussions() {
		return salleDeDiscussions;
	}

	public void setSalleDeDiscussions(ArrayList<SalleDeDiscussion> salleDeDiscussions) {
		this.salleDeDiscussions = salleDeDiscussions;
	}

	public ArrayList<Message> getMessageDsSD() {
		return messageDsSD;
	}

	public void setMessageDsSD(ArrayList<Message> messageDsSD) {
		this.messageDsSD = messageDsSD;
	}	
}
